package day06;

import java.util.Scanner;

public class Guessing {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int num = (int)(Math.random()*100);
        while (true){
            System.out.println("猜：");
            int guessing = scanner.nextInt();
            if (guessing>num){
                System.out.println("大");
            }else if(guessing<num){
                System.out.println("小");
            }else {
                System.out.println("对");
                break;
            }
        }
    }
}